/*
 * ============================================================================
 * = COPYRIGHT
 *          PAX Computer Technology(Shenzhen) Co., Ltd. PROPRIETARY INFORMATION
 *   This software is supplied under the terms of a license agreement or nondisclosure
 *   agreement with PAX Computer Technology(Shenzhen) Co., Ltd. and may not be copied or
 *   disclosed except in accordance with the terms in that agreement.
 *     Copyright (C) 2021 PAX Computer Technology(Shenzhen) Co., Ltd. All rights reserved.
 * ============================================================================
 */

import 'auto_data_source_common.dart';
import 'package:pos_link/auto_pigeon/poslink_sdk_manage.dart';
import 'package:pos_link/auto_data_source/auto_query.dart';
class ManageReqData {
  static List<Map> initSourceData() {
    return ManageReqData.deleteImageData();
  }
  static List<Map> deleteImageData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'imageName',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_DeleteImageRequest-imageName',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ManageDeleteImageRequest formDeleteImageRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageDeleteImageRequest req = ManageDeleteImageRequest();
    req.imageName = RequestListModelQuery.query('Manage_Request_DeleteImageRequest-imageName',queryList);
    return req;
  }

  static List<Map> doSignatureData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'uploadFlag',
                kID: 'Manage_Request_DoSignatureRequest-uploadFlag',
                kMenuID: 'Manage_Request_DoSignatureRequest-uploadFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageUploadFlag.NotUploadToHost,
                kData: [
                  {
                    kData: ManageUploadFlag.NotUploadToHost,
                    kID: 'Manage_Request_DoSignatureRequest-uploadFlag_NotUploadToHost',
                  },
                  {
                    kData: ManageUploadFlag.UploadToHost,
                    kID: 'Manage_Request_DoSignatureRequest-uploadFlag_UploadToHost',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'hostReferenceNumber',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_DoSignatureRequest-hostReferenceNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Manage_Request_DoSignatureRequest-edcType',
                kMenuID: 'Manage_Request_DoSignatureRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEdcType.NotSet,
                kData: [
                  {
                    kData: ManageEdcType.NotSet,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_NotSet',
                  },
                  {
                    kData: ManageEdcType.All,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_All',
                  },
                  {
                    kData: ManageEdcType.Credit,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Credit',
                  },
                  {
                    kData: ManageEdcType.Debit,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Debit',
                  },
                  {
                    kData: ManageEdcType.Ebt,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Ebt',
                  },
                  {
                    kData: ManageEdcType.Gift,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Gift',
                  },
                  {
                    kData: ManageEdcType.Loyalty,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Loyalty',
                  },
                  {
                    kData: ManageEdcType.Cash,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Cash',
                  },
                  {
                    kData: ManageEdcType.Check,
                    kID: 'Manage_Request_DoSignatureRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'timeout',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_DoSignatureRequest-timeout',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'continuousScreen',
                kID: 'Manage_Request_DoSignatureRequest-continuousScreen',
                kMenuID: 'Manage_Request_DoSignatureRequest-continuousScreen_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageContinuousScreen.NotSet,
                kData: [
                  {
                    kData: ManageContinuousScreen.NotSet,
                    kID: 'Manage_Request_DoSignatureRequest-continuousScreen_NotSet',
                  },
                  {
                    kData: ManageContinuousScreen.Default,
                    kID: 'Manage_Request_DoSignatureRequest-continuousScreen_Default',
                  },
                  {
                    kData: ManageContinuousScreen.NotGoToIdleScreen,
                    kID: 'Manage_Request_DoSignatureRequest-continuousScreen_NotGoToIdleScreen',
                  },
                ],
              },
           ];
  }

  static ManageDoSignatureRequest formDoSignatureRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageDoSignatureRequest req = ManageDoSignatureRequest();
    req.uploadFlag = RequestListModelQuery.query('Manage_Request_DoSignatureRequest-uploadFlag',queryList);
    req.hostReferenceNumber = RequestListModelQuery.query('Manage_Request_DoSignatureRequest-hostReferenceNumber',queryList);
    req.edcType = RequestListModelQuery.query('Manage_Request_DoSignatureRequest-edcType',queryList);
    req.timeout = RequestListModelQuery.query('Manage_Request_DoSignatureRequest-timeout',queryList);
    req.continuousScreen = RequestListModelQuery.query('Manage_Request_DoSignatureRequest-continuousScreen',queryList);
    return req;
  }

  static List<Map> vasPushDataData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'vasMode',
                kID: 'Manage_Request_VasPushDataRequest-vasMode',
                kMenuID: 'Manage_Request_VasPushDataRequest-vasMode_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageVasMode.VasOnly,
                kData: [
                  {
                    kData: ManageVasMode.NotSet,
                    kID: 'Manage_Request_VasPushDataRequest-vasMode_NotSet',
                  },
                  {
                    kData: ManageVasMode.VasOnly,
                    kID: 'Manage_Request_VasPushDataRequest-vasMode_VasOnly',
                  },
                  {
                    kData: ManageVasMode.VasAndPayment,
                    kID: 'Manage_Request_VasPushDataRequest-vasMode_VasAndPayment',
                  },
                  {
                    kData: ManageVasMode.VasOrPayment,
                    kID: 'Manage_Request_VasPushDataRequest-vasMode_VasOrPayment',
                  },
                  {
                    kData: ManageVasMode.PaymentOnly,
                    kID: 'Manage_Request_VasPushDataRequest-vasMode_PaymentOnly',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kGroupArrowOpen: true,
                kName: 'googleSmartTapPushService',
                kValue: '',
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'security',
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security',
                kMenuID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageSecurity.Normal,
                kData: [
                  {
                    kData: ManageSecurity.NotSet,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security_NotSet',
                  },
                  {
                    kData: ManageSecurity.Normal,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security_Normal',
                  },
                  {
                    kData: ManageSecurity.Securely,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security_Securely',
                  },
                  {
                    kData: ManageSecurity.PreSignature,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security_PreSignature',
                  },
                  {
                    kData: ManageSecurity.NeedNotARightAuth,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_security_NeedNotARightAuth',
                  },
                ],
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kBitmapEnable: false,
                kGroupArrowOpen: false,
                kName: 'googleSmartTapCap',
                kValue: '',
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'standAlone',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_standAlone',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'semiIntegrated',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_semiIntegrated',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'unattended',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_unattended',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'online',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_online',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'offline',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_offline',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'mmp',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_mmp',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'zlibSupport',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_zlibSupport',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'printer',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_printer',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'printerGraphics',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_printerGraphics',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'display',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_display',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'images',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_images',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'audio',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_audio',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'animation',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_animation',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'video',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_video',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportPayment',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportPayment',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportDigitalReceipt',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportDigitalReceipt',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportServiceIssuance',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportServiceIssuance',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportOtaPosData',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportOtaPosData',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'onlinePin',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_onlinePin',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'cdPin',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_cdPin',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'signature',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_signature',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'noCvm',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_noCvm',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'deviceGeneratedCode',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_deviceGeneratedCode',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'spGeneratedCode',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_spGeneratedCode',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'idCapture',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_idCapture',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'bioMetric',
                kValue: false,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_bioMetric',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'collectId',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_collectId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage',
                kType: DataItemType.ModelList,
                kClass: 'ServiceUsage',
                kShow: true,
                kName: 'googleServiceUsage',
                kValue: [
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_usageId',
                    kName: 'usageId',
                  },
                  {
                    kType: DataItemType.Menu,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_state',
                    kName: 'state',
                    kShow: true,
                    kLevel: 1,
                    kValue: ManageServiceState.NotSet,
                    kData: [
                      {
                         kData: ManageServiceState.NotSet,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_state_NotSet',
                      },
                      {
                         kData: ManageServiceState.Unspecified,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_state_Unspecified',
                      },
                      {
                         kData: ManageServiceState.Success,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_state_Success',
                      },
                      {
                         kData: ManageServiceState.InvalidFormat,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_state_InvalidFormat',
                      },
                      {
                         kData: ManageServiceState.InvalidValue,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_state_InvalidValue',
                      },
                    ],
                  },
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_title',
                    kName: 'title',
                  },
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage_describe',
                    kName: 'describe',
                  },
                ],
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate',
                kType: DataItemType.ModelList,
                kClass: 'ServiceUpdate',
                kShow: true,
                kName: 'googleServiceUpdate',
                kValue: [
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateId',
                    kName: 'updateId',
                  },
                  {
                    kType: DataItemType.Menu,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation',
                    kName: 'updateOperation',
                    kShow: true,
                    kLevel: 1,
                    kValue: ManageUpdateOperation.NotSet,
                    kData: [
                      {
                         kData: ManageUpdateOperation.NotSet,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_NotSet',
                      },
                      {
                         kData: ManageUpdateOperation.NoOperation,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_NoOperation',
                      },
                      {
                         kData: ManageUpdateOperation.RemoveServiceObject,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_RemoveServiceObject',
                      },
                      {
                         kData: ManageUpdateOperation.SetBalance,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_SetBalance',
                      },
                      {
                         kData: ManageUpdateOperation.AddBalance,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_AddBalance',
                      },
                      {
                         kData: ManageUpdateOperation.SubtractBalance,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_SubtractBalance',
                      },
                      {
                         kData: ManageUpdateOperation.Free,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updateOperation_Free',
                      },
                    ],
                  },
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate_updatePayload',
                    kName: 'updatePayload',
                  },
                ],
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService',
                kType: DataItemType.ModelList,
                kClass: 'NewService',
                kShow: true,
                kName: 'googleNewService',
                kValue: [
                  {
                    kType: DataItemType.Menu,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type',
                    kName: 'type',
                    kShow: true,
                    kLevel: 1,
                    kValue: ManageNewServiceType.NotSet,
                    kData: [
                      {
                         kData: ManageNewServiceType.NotSet,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_NotSet',
                      },
                      {
                         kData: ManageNewServiceType.Unspecified,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_Unspecified',
                      },
                      {
                         kData: ManageNewServiceType.Valuable,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_Valuable',
                      },
                      {
                         kData: ManageNewServiceType.Receipt,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_Receipt',
                      },
                      {
                         kData: ManageNewServiceType.Survey,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_Survey',
                      },
                      {
                         kData: ManageNewServiceType.Goods,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_Goods',
                      },
                      {
                         kData: ManageNewServiceType.Signup,
                         kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_type_Signup',
                      },
                    ],
                  },
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_title',
                    kName: 'title',
                  },
                  {
                    kType: DataItemType.CellInput,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService_url',
                    kName: 'url',
                  },
                ],
              },
              {
                kSuperGroupName: 'googleSmartTapPushService',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'endTap',
                kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_endTap',
                kMenuID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_endTap_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEndTap.NormalFlow,
                kData: [
                  {
                    kData: ManageEndTap.NotSet,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_endTap_NotSet',
                  },
                  {
                    kData: ManageEndTap.NormalFlow,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_endTap_NormalFlow',
                  },
                  {
                    kData: ManageEndTap.StopTapSession,
                    kID: 'Manage_Request_VasPushDataRequest-googleSmartTapPushService_endTap_StopTapSession',
                  },
                ],
              },
           ];
  }

  static ManageVasPushDataRequest formVasPushDataRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageVasPushDataRequest req = ManageVasPushDataRequest();
    req.vasMode = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-vasMode',queryList);
    req.googleSmartTapPushService = ManageGoogleSmartTapPushService();
    req.googleSmartTapPushService!.security = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_security',queryList);
    bool ifNullGoogleSmartTapPushServiceGoogleSmartTapCap = GroupQuery.queryIfNull('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap', list);    req.googleSmartTapPushService!.googleSmartTapCap = ManageGoogleSmartTapCapBitmap();
    req.googleSmartTapPushService!.googleSmartTapCap!.standAlone = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_standAlone',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.semiIntegrated = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_semiIntegrated',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.unattended = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_unattended',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.online = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_online',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.offline = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_offline',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.mmp = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_mmp',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.zlibSupport = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_zlibSupport',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.printer = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_printer',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.printerGraphics = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_printerGraphics',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.display = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_display',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.images = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_images',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.audio = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_audio',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.animation = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_animation',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.video = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_video',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.supportPayment = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportPayment',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.supportDigitalReceipt = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportDigitalReceipt',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.supportServiceIssuance = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportServiceIssuance',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.supportOtaPosData = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_supportOtaPosData',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.onlinePin = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_onlinePin',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.cdPin = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_cdPin',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.signature = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_signature',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.noCvm = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_noCvm',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.deviceGeneratedCode = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_deviceGeneratedCode',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.spGeneratedCode = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_spGeneratedCode',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.idCapture = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_idCapture',queryList);
    req.googleSmartTapPushService!.googleSmartTapCap!.bioMetric = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleSmartTapCap_bioMetric',queryList);
    if (ifNullGoogleSmartTapPushServiceGoogleSmartTapCap == true) {
      req.googleSmartTapPushService!.googleSmartTapCap = null;
    }
    req.googleSmartTapPushService!.collectId = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_collectId',queryList);
    req.googleSmartTapPushService!.googleServiceUsage = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUsage',queryList);
    req.googleSmartTapPushService!.googleServiceUpdate = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleServiceUpdate',queryList);
    req.googleSmartTapPushService!.googleNewService = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_googleNewService',queryList);
    req.googleSmartTapPushService!.endTap = RequestListModelQuery.query('Manage_Request_VasPushDataRequest-googleSmartTapPushService_endTap',queryList);
    return req;
  }

  static List<Map> tokenAdministrativeData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Manage_Request_TokenAdministrativeRequest-edcType',
                kMenuID: 'Manage_Request_TokenAdministrativeRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEdcType.NotSet,
                kData: [
                  {
                    kData: ManageEdcType.NotSet,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_NotSet',
                  },
                  {
                    kData: ManageEdcType.All,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_All',
                  },
                  {
                    kData: ManageEdcType.Credit,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Credit',
                  },
                  {
                    kData: ManageEdcType.Debit,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Debit',
                  },
                  {
                    kData: ManageEdcType.Ebt,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Ebt',
                  },
                  {
                    kData: ManageEdcType.Gift,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Gift',
                  },
                  {
                    kData: ManageEdcType.Loyalty,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Loyalty',
                  },
                  {
                    kData: ManageEdcType.Cash,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Cash',
                  },
                  {
                    kData: ManageEdcType.Check,
                    kID: 'Manage_Request_TokenAdministrativeRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'tokenCommand',
                kID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand',
                kMenuID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageTokenCommand.NotSet,
                kData: [
                  {
                    kData: ManageTokenCommand.NotSet,
                    kID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand_NotSet',
                  },
                  {
                    kData: ManageTokenCommand.Lookup,
                    kID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand_Lookup',
                  },
                  {
                    kData: ManageTokenCommand.Delete,
                    kID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand_Delete',
                  },
                  {
                    kData: ManageTokenCommand.Duplicate,
                    kID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand_Duplicate',
                  },
                  {
                    kData: ManageTokenCommand.Update,
                    kID: 'Manage_Request_TokenAdministrativeRequest-tokenCommand_Update',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'token',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_TokenAdministrativeRequest-token',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'tokenSn',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_TokenAdministrativeRequest-tokenSn',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'expiryDate',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_TokenAdministrativeRequest-expiryDate',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ManageTokenAdministrativeRequest formTokenAdministrativeRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageTokenAdministrativeRequest req = ManageTokenAdministrativeRequest();
    req.edcType = RequestListModelQuery.query('Manage_Request_TokenAdministrativeRequest-edcType',queryList);
    req.tokenCommand = RequestListModelQuery.query('Manage_Request_TokenAdministrativeRequest-tokenCommand',queryList);
    req.token = RequestListModelQuery.query('Manage_Request_TokenAdministrativeRequest-token',queryList);
    req.tokenSn = RequestListModelQuery.query('Manage_Request_TokenAdministrativeRequest-tokenSn',queryList);
    req.expiryDate = RequestListModelQuery.query('Manage_Request_TokenAdministrativeRequest-expiryDate',queryList);
    return req;
  }

  static List<Map> resetMsrData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
           ];
  }

  static ManageResetMsrRequest formResetMsrRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageResetMsrRequest req = ManageResetMsrRequest();
    req.classID = RequestListModelQuery.query('Manage_Request_ResetMsrRequest-classID',queryList);
    return req;
  }

  static List<Map> initData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
           ];
  }

  static ManageInitRequest formInitRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageInitRequest req = ManageInitRequest();
    req.classID = RequestListModelQuery.query('Manage_Request_InitRequest-classID',queryList);
    return req;
  }

  static List<Map> setGoogleSmartTapParametersData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'vasMode',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode',
                kMenuID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageVasMode.VasOnly,
                kData: [
                  {
                    kData: ManageVasMode.NotSet,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode_NotSet',
                  },
                  {
                    kData: ManageVasMode.VasOnly,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode_VasOnly',
                  },
                  {
                    kData: ManageVasMode.VasAndPayment,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode_VasAndPayment',
                  },
                  {
                    kData: ManageVasMode.VasOrPayment,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode_VasOrPayment',
                  },
                  {
                    kData: ManageVasMode.PaymentOnly,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-vasMode_PaymentOnly',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kGroupArrowOpen: true,
                kName: 'googleSmartTapData',
                kValue: '',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kBitmapEnable: false,
                kGroupArrowOpen: false,
                kName: 'googleSmartTapCap',
                kValue: '',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'standAlone',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_standAlone',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'semiIntegrated',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_semiIntegrated',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'unattended',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_unattended',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'online',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_online',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'offline',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_offline',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'mmp',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_mmp',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'zlibSupport',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_zlibSupport',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'printer',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_printer',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'printerGraphics',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_printerGraphics',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'display',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_display',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'images',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_images',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'audio',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_audio',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'animation',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_animation',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'video',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_video',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportPayment',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportPayment',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportDigitalReceipt',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportDigitalReceipt',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportServiceIssuance',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportServiceIssuance',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'supportOtaPosData',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportOtaPosData',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'onlinePin',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_onlinePin',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'cdPin',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_cdPin',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'signature',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_signature',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'noCvm',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_noCvm',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'deviceGeneratedCode',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_deviceGeneratedCode',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'spGeneratedCode',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_spGeneratedCode',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'idCapture',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_idCapture',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapCap',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'bioMetric',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_bioMetric',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'collectId',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_collectId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'storeLocalId',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_storeLocalId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'terminalId',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_terminalId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'merchantName',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_merchantName',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'merchantCategory',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_merchantCategory',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kBitmapEnable: false,
                kGroupArrowOpen: false,
                kName: 'serviceType',
                kValue: '',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'allServices',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_allServices',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'allServicesExceptPpse',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_allServicesExceptPpse',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'ppse',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_ppse',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'loyalty',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_loyalty',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'offer',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_offer',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'giftCard1',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_giftCard1',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'privateLabelCard',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_privateLabelCard',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'cloudBasedWallet',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_cloudBasedWallet',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'mobileMarketingPlatform',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_mobileMarketingPlatform',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'serviceType',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 3,
                kName: 'walletCustomer',
                kValue: false,
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_walletCustomer',
                kType: DataItemType.Boolen,
                kShow: false,
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'security',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security',
                kMenuID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageSecurity.Normal,
                kData: [
                  {
                    kData: ManageSecurity.NotSet,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security_NotSet',
                  },
                  {
                    kData: ManageSecurity.Normal,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security_Normal',
                  },
                  {
                    kData: ManageSecurity.Securely,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security_Securely',
                  },
                  {
                    kData: ManageSecurity.PreSignature,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security_PreSignature',
                  },
                  {
                    kData: ManageSecurity.NeedNotARightAuth,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security_NeedNotARightAuth',
                  },
                ],
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'endTap',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_endTap',
                kMenuID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_endTap_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEndTap.NormalFlow,
                kData: [
                  {
                    kData: ManageEndTap.NotSet,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_endTap_NotSet',
                  },
                  {
                    kData: ManageEndTap.NormalFlow,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_endTap_NormalFlow',
                  },
                  {
                    kData: ManageEndTap.StopTapSession,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_endTap_StopTapSession',
                  },
                ],
              },
              {
                kSuperGroupName: 'googleSmartTapData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'oseToPpse',
                kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_oseToPpse',
                kMenuID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_oseToPpse_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageOseToPpse.NormalFlow,
                kData: [
                  {
                    kData: ManageOseToPpse.NotSet,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_oseToPpse_NotSet',
                  },
                  {
                    kData: ManageOseToPpse.NormalFlow,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_oseToPpse_NormalFlow',
                  },
                  {
                    kData: ManageOseToPpse.StopVasAndDoPaymentDirectly,
                    kID: 'Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_oseToPpse_StopVasAndDoPaymentDirectly',
                  },
                ],
              },
           ];
  }

  static ManageSetGoogleSmartTapParametersRequest formSetGoogleSmartTapParametersRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageSetGoogleSmartTapParametersRequest req = ManageSetGoogleSmartTapParametersRequest();
    req.vasMode = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-vasMode',queryList);
    req.googleSmartTapData = ManageGoogleSmartTap();
    bool ifNullGoogleSmartTapDataGoogleSmartTapCap = GroupQuery.queryIfNull('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap', list);    req.googleSmartTapData!.googleSmartTapCap = ManageGoogleSmartTapCapBitmap();
    req.googleSmartTapData!.googleSmartTapCap!.standAlone = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_standAlone',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.semiIntegrated = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_semiIntegrated',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.unattended = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_unattended',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.online = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_online',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.offline = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_offline',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.mmp = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_mmp',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.zlibSupport = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_zlibSupport',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.printer = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_printer',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.printerGraphics = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_printerGraphics',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.display = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_display',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.images = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_images',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.audio = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_audio',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.animation = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_animation',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.video = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_video',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.supportPayment = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportPayment',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.supportDigitalReceipt = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportDigitalReceipt',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.supportServiceIssuance = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportServiceIssuance',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.supportOtaPosData = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_supportOtaPosData',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.onlinePin = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_onlinePin',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.cdPin = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_cdPin',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.signature = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_signature',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.noCvm = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_noCvm',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.deviceGeneratedCode = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_deviceGeneratedCode',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.spGeneratedCode = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_spGeneratedCode',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.idCapture = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_idCapture',queryList);
    req.googleSmartTapData!.googleSmartTapCap!.bioMetric = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_googleSmartTapCap_bioMetric',queryList);
    if (ifNullGoogleSmartTapDataGoogleSmartTapCap == true) {
      req.googleSmartTapData!.googleSmartTapCap = null;
    }
    req.googleSmartTapData!.collectId = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_collectId',queryList);
    req.googleSmartTapData!.storeLocalId = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_storeLocalId',queryList);
    req.googleSmartTapData!.terminalId = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_terminalId',queryList);
    req.googleSmartTapData!.merchantName = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_merchantName',queryList);
    req.googleSmartTapData!.merchantCategory = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_merchantCategory',queryList);
    bool ifNullGoogleSmartTapDataServiceType = GroupQuery.queryIfNull('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType', list);    req.googleSmartTapData!.serviceType = ManageGoogleServiceTypeBitmap();
    req.googleSmartTapData!.serviceType!.allServices = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_allServices',queryList);
    req.googleSmartTapData!.serviceType!.allServicesExceptPpse = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_allServicesExceptPpse',queryList);
    req.googleSmartTapData!.serviceType!.ppse = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_ppse',queryList);
    req.googleSmartTapData!.serviceType!.loyalty = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_loyalty',queryList);
    req.googleSmartTapData!.serviceType!.offer = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_offer',queryList);
    req.googleSmartTapData!.serviceType!.giftCard1 = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_giftCard1',queryList);
    req.googleSmartTapData!.serviceType!.privateLabelCard = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_privateLabelCard',queryList);
    req.googleSmartTapData!.serviceType!.cloudBasedWallet = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_cloudBasedWallet',queryList);
    req.googleSmartTapData!.serviceType!.mobileMarketingPlatform = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_mobileMarketingPlatform',queryList);
    req.googleSmartTapData!.serviceType!.walletCustomer = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_serviceType_walletCustomer',queryList);
    if (ifNullGoogleSmartTapDataServiceType == true) {
      req.googleSmartTapData!.serviceType = null;
    }
    req.googleSmartTapData!.security = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_security',queryList);
    req.googleSmartTapData!.endTap = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_endTap',queryList);
    req.googleSmartTapData!.oseToPpse = RequestListModelQuery.query('Manage_Request_SetGoogleSmartTapParametersRequest-googleSmartTapData_oseToPpse',queryList);
    return req;
  }

  static List<Map> checkFileData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'fileName',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_CheckFileRequest-fileName',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ManageCheckFileRequest formCheckFileRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageCheckFileRequest req = ManageCheckFileRequest();
    req.fileName = RequestListModelQuery.query('Manage_Request_CheckFileRequest-fileName',queryList);
    return req;
  }

  static List<Map> resetData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
           ];
  }

  static ManageResetRequest formResetRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageResetRequest req = ManageResetRequest();
    req.classID = RequestListModelQuery.query('Manage_Request_ResetRequest-classID',queryList);
    return req;
  }

  static List<Map> setSafParametersData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'safMode',
                kID: 'Manage_Request_SetSafParametersRequest-safMode',
                kMenuID: 'Manage_Request_SetSafParametersRequest-safMode_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageSafMode.NotSet,
                kData: [
                  {
                    kData: ManageSafMode.NotSet,
                    kID: 'Manage_Request_SetSafParametersRequest-safMode_NotSet',
                  },
                  {
                    kData: ManageSafMode.StayOnline,
                    kID: 'Manage_Request_SetSafParametersRequest-safMode_StayOnline',
                  },
                  {
                    kData: ManageSafMode.StayOffline,
                    kID: 'Manage_Request_SetSafParametersRequest-safMode_StayOffline',
                  },
                  {
                    kData: ManageSafMode.OfflineTillBatch,
                    kID: 'Manage_Request_SetSafParametersRequest-safMode_OfflineTillBatch',
                  },
                  {
                    kData: ManageSafMode.OfflineOnDemandOrAuto,
                    kID: 'Manage_Request_SetSafParametersRequest-safMode_OfflineOnDemandOrAuto',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'startDateTime',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetSafParametersRequest-startDateTime',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'endDateTime',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetSafParametersRequest-endDateTime',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'durationInDays',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetSafParametersRequest-durationInDays',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'maxNumber',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetSafParametersRequest-maxNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'totalCeilingAmount',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetSafParametersRequest-totalCeilingAmount',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ceilingAmountPerCardType',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetSafParametersRequest-ceilingAmountPerCardType',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'haloPerCardType',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetSafParametersRequest-haloPerCardType',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'uploadMode',
                kID: 'Manage_Request_SetSafParametersRequest-uploadMode',
                kMenuID: 'Manage_Request_SetSafParametersRequest-uploadMode_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageSafUploadMode.NotSet,
                kData: [
                  {
                    kData: ManageSafUploadMode.NotSet,
                    kID: 'Manage_Request_SetSafParametersRequest-uploadMode_NotSet',
                  },
                  {
                    kData: ManageSafUploadMode.UploadBeforeBatch,
                    kID: 'Manage_Request_SetSafParametersRequest-uploadMode_UploadBeforeBatch',
                  },
                  {
                    kData: ManageSafUploadMode.SilentAutoUpload,
                    kID: 'Manage_Request_SetSafParametersRequest-uploadMode_SilentAutoUpload',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'autoUploadIntervalTime',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetSafParametersRequest-autoUploadIntervalTime',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'deleteSafConfirmation',
                kID: 'Manage_Request_SetSafParametersRequest-deleteSafConfirmation',
                kMenuID: 'Manage_Request_SetSafParametersRequest-deleteSafConfirmation_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageDeleteSafConfirmation.NotSet,
                kData: [
                  {
                    kData: ManageDeleteSafConfirmation.NotSet,
                    kID: 'Manage_Request_SetSafParametersRequest-deleteSafConfirmation_NotSet',
                  },
                  {
                    kData: ManageDeleteSafConfirmation.WithPrompt,
                    kID: 'Manage_Request_SetSafParametersRequest-deleteSafConfirmation_WithPrompt',
                  },
                  {
                    kData: ManageDeleteSafConfirmation.WithoutPrompt,
                    kID: 'Manage_Request_SetSafParametersRequest-deleteSafConfirmation_WithoutPrompt',
                  },
                ],
              },
           ];
  }

  static ManageSetSafParametersRequest formSetSafParametersRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageSetSafParametersRequest req = ManageSetSafParametersRequest();
    req.safMode = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-safMode',queryList);
    req.startDateTime = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-startDateTime',queryList);
    req.endDateTime = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-endDateTime',queryList);
    req.durationInDays = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-durationInDays',queryList);
    req.maxNumber = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-maxNumber',queryList);
    req.totalCeilingAmount = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-totalCeilingAmount',queryList);
    req.ceilingAmountPerCardType = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-ceilingAmountPerCardType',queryList);
    req.haloPerCardType = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-haloPerCardType',queryList);
    req.uploadMode = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-uploadMode',queryList);
    req.autoUploadIntervalTime = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-autoUploadIntervalTime',queryList);
    req.deleteSafConfirmation = RequestListModelQuery.query('Manage_Request_SetSafParametersRequest-deleteSafConfirmation',queryList);
    return req;
  }

  static List<Map> setApplePayVasParametersData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'vasMode',
                kID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode',
                kMenuID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageVasMode.VasOnly,
                kData: [
                  {
                    kData: ManageVasMode.NotSet,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode_NotSet',
                  },
                  {
                    kData: ManageVasMode.VasOnly,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode_VasOnly',
                  },
                  {
                    kData: ManageVasMode.VasAndPayment,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode_VasAndPayment',
                  },
                  {
                    kData: ManageVasMode.VasOrPayment,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode_VasOrPayment',
                  },
                  {
                    kData: ManageVasMode.PaymentOnly,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-vasMode_PaymentOnly',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kGroupArrowOpen: true,
                kName: 'applePayVasData',
                kValue: '',
                kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'applePayVasData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'merchantId',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_merchantId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'applePayVasData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'urlMode',
                kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_urlMode',
                kMenuID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_urlMode_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageUrlMode.NotSet,
                kData: [
                  {
                    kData: ManageUrlMode.NotSet,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_urlMode_NotSet',
                  },
                  {
                    kData: ManageUrlMode.FullVasMode,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_urlMode_FullVasMode',
                  },
                  {
                    kData: ManageUrlMode.UrlMode,
                    kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_urlMode_UrlMode',
                  },
                ],
              },
              {
                kSuperGroupName: 'applePayVasData',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'url',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetApplePayVasParametersRequest-applePayVasData_url',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ManageSetApplePayVasParametersRequest formSetApplePayVasParametersRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageSetApplePayVasParametersRequest req = ManageSetApplePayVasParametersRequest();
    req.vasMode = RequestListModelQuery.query('Manage_Request_SetApplePayVasParametersRequest-vasMode',queryList);
    req.applePayVasData = ManageApplePayVas();
    req.applePayVasData!.merchantId = RequestListModelQuery.query('Manage_Request_SetApplePayVasParametersRequest-applePayVasData_merchantId',queryList);
    req.applePayVasData!.urlMode = RequestListModelQuery.query('Manage_Request_SetApplePayVasParametersRequest-applePayVasData_urlMode',queryList);
    req.applePayVasData!.url = RequestListModelQuery.query('Manage_Request_SetApplePayVasParametersRequest-applePayVasData_url',queryList);
    return req;
  }

  static List<Map> getSafParametersData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
           ];
  }

  static ManageGetSafParametersRequest formGetSafParametersRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageGetSafParametersRequest req = ManageGetSafParametersRequest();
    req.classID = RequestListModelQuery.query('Manage_Request_GetSafParametersRequest-classID',queryList);
    return req;
  }

  static List<Map> getSignatureData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
           ];
  }

  static ManageGetSignatureRequest formGetSignatureRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageGetSignatureRequest req = ManageGetSignatureRequest();
    req.classID = RequestListModelQuery.query('Manage_Request_GetSignatureRequest-classID',queryList);
    return req;
  }

  static List<Map> getVariableData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Manage_Request_GetVariableRequest-edcType',
                kMenuID: 'Manage_Request_GetVariableRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEdcType.NotSet,
                kData: [
                  {
                    kData: ManageEdcType.NotSet,
                    kID: 'Manage_Request_GetVariableRequest-edcType_NotSet',
                  },
                  {
                    kData: ManageEdcType.All,
                    kID: 'Manage_Request_GetVariableRequest-edcType_All',
                  },
                  {
                    kData: ManageEdcType.Credit,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Credit',
                  },
                  {
                    kData: ManageEdcType.Debit,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Debit',
                  },
                  {
                    kData: ManageEdcType.Ebt,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Ebt',
                  },
                  {
                    kData: ManageEdcType.Gift,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Gift',
                  },
                  {
                    kData: ManageEdcType.Loyalty,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Loyalty',
                  },
                  {
                    kData: ManageEdcType.Cash,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Cash',
                  },
                  {
                    kData: ManageEdcType.Check,
                    kID: 'Manage_Request_GetVariableRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName1',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_GetVariableRequest-variableName1',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName2',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_GetVariableRequest-variableName2',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName3',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_GetVariableRequest-variableName3',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName4',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_GetVariableRequest-variableName4',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName5',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_GetVariableRequest-variableName5',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kGroupArrowOpen: true,
                kName: 'multiMerchant',
                kValue: '',
                kID: 'Manage_Request_GetVariableRequest-multiMerchant',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'multiMerchant',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'multiMerchantId',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_GetVariableRequest-multiMerchant_multiMerchantId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'multiMerchant',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'multiMerchantName',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_GetVariableRequest-multiMerchant_multiMerchantName',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ManageGetVariableRequest formGetVariableRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageGetVariableRequest req = ManageGetVariableRequest();
    req.edcType = RequestListModelQuery.query('Manage_Request_GetVariableRequest-edcType',queryList);
    req.variableName1 = RequestListModelQuery.query('Manage_Request_GetVariableRequest-variableName1',queryList);
    req.variableName2 = RequestListModelQuery.query('Manage_Request_GetVariableRequest-variableName2',queryList);
    req.variableName3 = RequestListModelQuery.query('Manage_Request_GetVariableRequest-variableName3',queryList);
    req.variableName4 = RequestListModelQuery.query('Manage_Request_GetVariableRequest-variableName4',queryList);
    req.variableName5 = RequestListModelQuery.query('Manage_Request_GetVariableRequest-variableName5',queryList);
    req.multiMerchant = ManageMultiMerchant();
    req.multiMerchant!.multiMerchantId = RequestListModelQuery.query('Manage_Request_GetVariableRequest-multiMerchant_multiMerchantId',queryList);
    req.multiMerchant!.multiMerchantName = RequestListModelQuery.query('Manage_Request_GetVariableRequest-multiMerchant_multiMerchantName',queryList);
    return req;
  }

  static List<Map> reprintData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'printLastReceipt',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_ReprintRequest-printLastReceipt',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Manage_Request_ReprintRequest-edcType',
                kMenuID: 'Manage_Request_ReprintRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEdcType.NotSet,
                kData: [
                  {
                    kData: ManageEdcType.NotSet,
                    kID: 'Manage_Request_ReprintRequest-edcType_NotSet',
                  },
                  {
                    kData: ManageEdcType.All,
                    kID: 'Manage_Request_ReprintRequest-edcType_All',
                  },
                  {
                    kData: ManageEdcType.Credit,
                    kID: 'Manage_Request_ReprintRequest-edcType_Credit',
                  },
                  {
                    kData: ManageEdcType.Debit,
                    kID: 'Manage_Request_ReprintRequest-edcType_Debit',
                  },
                  {
                    kData: ManageEdcType.Ebt,
                    kID: 'Manage_Request_ReprintRequest-edcType_Ebt',
                  },
                  {
                    kData: ManageEdcType.Gift,
                    kID: 'Manage_Request_ReprintRequest-edcType_Gift',
                  },
                  {
                    kData: ManageEdcType.Loyalty,
                    kID: 'Manage_Request_ReprintRequest-edcType_Loyalty',
                  },
                  {
                    kData: ManageEdcType.Cash,
                    kID: 'Manage_Request_ReprintRequest-edcType_Cash',
                  },
                  {
                    kData: ManageEdcType.Check,
                    kID: 'Manage_Request_ReprintRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'originalReferenceNumber',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_ReprintRequest-originalReferenceNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'authorizationCode',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_ReprintRequest-authorizationCode',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ecrReferenceNumber',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_ReprintRequest-ecrReferenceNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'receiptPrintFlag',
                kID: 'Manage_Request_ReprintRequest-receiptPrintFlag',
                kMenuID: 'Manage_Request_ReprintRequest-receiptPrintFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageReceiptPrintFlag.NotSet,
                kData: [
                  {
                    kData: ManageReceiptPrintFlag.NotSet,
                    kID: 'Manage_Request_ReprintRequest-receiptPrintFlag_NotSet',
                  },
                  {
                    kData: ManageReceiptPrintFlag.NoReceipt,
                    kID: 'Manage_Request_ReprintRequest-receiptPrintFlag_NoReceipt',
                  },
                  {
                    kData: ManageReceiptPrintFlag.MerchantOnly,
                    kID: 'Manage_Request_ReprintRequest-receiptPrintFlag_MerchantOnly',
                  },
                  {
                    kData: ManageReceiptPrintFlag.CustomerOnly,
                    kID: 'Manage_Request_ReprintRequest-receiptPrintFlag_CustomerOnly',
                  },
                  {
                    kData: ManageReceiptPrintFlag.BothCopy,
                    kID: 'Manage_Request_ReprintRequest-receiptPrintFlag_BothCopy',
                  },
                ],
              },
           ];
  }

  static ManageReprintRequest formReprintRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageReprintRequest req = ManageReprintRequest();
    req.printLastReceipt = RequestListModelQuery.query('Manage_Request_ReprintRequest-printLastReceipt',queryList);
    req.edcType = RequestListModelQuery.query('Manage_Request_ReprintRequest-edcType',queryList);
    req.originalReferenceNumber = RequestListModelQuery.query('Manage_Request_ReprintRequest-originalReferenceNumber',queryList);
    req.authorizationCode = RequestListModelQuery.query('Manage_Request_ReprintRequest-authorizationCode',queryList);
    req.ecrReferenceNumber = RequestListModelQuery.query('Manage_Request_ReprintRequest-ecrReferenceNumber',queryList);
    req.receiptPrintFlag = RequestListModelQuery.query('Manage_Request_ReprintRequest-receiptPrintFlag',queryList);
    return req;
  }

  static List<Map> updateResourceFileData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kTextFieldButtonName: 'Select',
                kName: 'fileUrl',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_UpdateResourceFileRequest-fileUrl',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'fileType',
                kID: 'Manage_Request_UpdateResourceFileRequest-fileType',
                kMenuID: 'Manage_Request_UpdateResourceFileRequest-fileType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageFileType.ResourceFile,
                kData: [
                  {
                    kData: ManageFileType.NotSet,
                    kID: 'Manage_Request_UpdateResourceFileRequest-fileType_NotSet',
                  },
                  {
                    kData: ManageFileType.ResourceFile,
                    kID: 'Manage_Request_UpdateResourceFileRequest-fileType_ResourceFile',
                  },
                  {
                    kData: ManageFileType.OfflineRkiKeyFile,
                    kID: 'Manage_Request_UpdateResourceFileRequest-fileType_OfflineRkiKeyFile',
                  },
                  {
                    kData: ManageFileType.InstallationPackageFile,
                    kID: 'Manage_Request_UpdateResourceFileRequest-fileType_InstallationPackageFile',
                  },
                  {
                    kData: ManageFileType.licenseFile,
                    kID: 'Manage_Request_UpdateResourceFileRequest-fileType_licenseFile',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'targetDevice',
                kID: 'Manage_Request_UpdateResourceFileRequest-targetDevice',
                kMenuID: 'Manage_Request_UpdateResourceFileRequest-targetDevice_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageTargetDevice.NotSet,
                kData: [
                  {
                    kData: ManageTargetDevice.NotSet,
                    kID: 'Manage_Request_UpdateResourceFileRequest-targetDevice_NotSet',
                  },
                  {
                    kData: ManageTargetDevice.Terminal,
                    kID: 'Manage_Request_UpdateResourceFileRequest-targetDevice_Terminal',
                  },
                  {
                    kData: ManageTargetDevice.ExternalPinpad,
                    kID: 'Manage_Request_UpdateResourceFileRequest-targetDevice_ExternalPinpad',
                  },
                ],
              },
           ];
  }

  static ManageUpdateResourceFileRequest formUpdateResourceFileRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageUpdateResourceFileRequest req = ManageUpdateResourceFileRequest();
    req.fileUrl = RequestListModelQuery.query('Manage_Request_UpdateResourceFileRequest-fileUrl',queryList);
    req.fileType = RequestListModelQuery.query('Manage_Request_UpdateResourceFileRequest-fileType',queryList);
    req.targetDevice = RequestListModelQuery.query('Manage_Request_UpdateResourceFileRequest-targetDevice',queryList);
    return req;
  }

  static List<Map> inputAccountData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'magneticSwipePinpadEnableFlag',
                kID: 'Manage_Request_InputAccountRequest-magneticSwipePinpadEnableFlag',
                kMenuID: 'Manage_Request_InputAccountRequest-magneticSwipePinpadEnableFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManagePinpadEnableFlag.NotSet,
                kData: [
                  {
                    kData: ManagePinpadEnableFlag.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-magneticSwipePinpadEnableFlag_NotSet',
                  },
                  {
                    kData: ManagePinpadEnableFlag.NotAllowed,
                    kID: 'Manage_Request_InputAccountRequest-magneticSwipePinpadEnableFlag_NotAllowed',
                  },
                  {
                    kData: ManagePinpadEnableFlag.Allowed,
                    kID: 'Manage_Request_InputAccountRequest-magneticSwipePinpadEnableFlag_Allowed',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'manualPinpadEnableFlag',
                kID: 'Manage_Request_InputAccountRequest-manualPinpadEnableFlag',
                kMenuID: 'Manage_Request_InputAccountRequest-manualPinpadEnableFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManagePinpadEnableFlag.NotSet,
                kData: [
                  {
                    kData: ManagePinpadEnableFlag.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-manualPinpadEnableFlag_NotSet',
                  },
                  {
                    kData: ManagePinpadEnableFlag.NotAllowed,
                    kID: 'Manage_Request_InputAccountRequest-manualPinpadEnableFlag_NotAllowed',
                  },
                  {
                    kData: ManagePinpadEnableFlag.Allowed,
                    kID: 'Manage_Request_InputAccountRequest-manualPinpadEnableFlag_Allowed',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'contactlessPinpadEnableFlag',
                kID: 'Manage_Request_InputAccountRequest-contactlessPinpadEnableFlag',
                kMenuID: 'Manage_Request_InputAccountRequest-contactlessPinpadEnableFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManagePinpadEnableFlag.NotSet,
                kData: [
                  {
                    kData: ManagePinpadEnableFlag.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-contactlessPinpadEnableFlag_NotSet',
                  },
                  {
                    kData: ManagePinpadEnableFlag.NotAllowed,
                    kID: 'Manage_Request_InputAccountRequest-contactlessPinpadEnableFlag_NotAllowed',
                  },
                  {
                    kData: ManagePinpadEnableFlag.Allowed,
                    kID: 'Manage_Request_InputAccountRequest-contactlessPinpadEnableFlag_Allowed',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'scannerPinpadEnableFlag',
                kID: 'Manage_Request_InputAccountRequest-scannerPinpadEnableFlag',
                kMenuID: 'Manage_Request_InputAccountRequest-scannerPinpadEnableFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManagePinpadEnableFlag.NotSet,
                kData: [
                  {
                    kData: ManagePinpadEnableFlag.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-scannerPinpadEnableFlag_NotSet',
                  },
                  {
                    kData: ManagePinpadEnableFlag.NotAllowed,
                    kID: 'Manage_Request_InputAccountRequest-scannerPinpadEnableFlag_NotAllowed',
                  },
                  {
                    kData: ManagePinpadEnableFlag.Allowed,
                    kID: 'Manage_Request_InputAccountRequest-scannerPinpadEnableFlag_Allowed',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'expiryDatePrompt',
                kID: 'Manage_Request_InputAccountRequest-expiryDatePrompt',
                kMenuID: 'Manage_Request_InputAccountRequest-expiryDatePrompt_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageExpiryDatePrompt.NotSet,
                kData: [
                  {
                    kData: ManageExpiryDatePrompt.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-expiryDatePrompt_NotSet',
                  },
                  {
                    kData: ManageExpiryDatePrompt.NotNeeded,
                    kID: 'Manage_Request_InputAccountRequest-expiryDatePrompt_NotNeeded',
                  },
                  {
                    kData: ManageExpiryDatePrompt.PromptForManualEntryOnly,
                    kID: 'Manage_Request_InputAccountRequest-expiryDatePrompt_PromptForManualEntryOnly',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'timeout',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_InputAccountRequest-timeout',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'encryptionFlag',
                kID: 'Manage_Request_InputAccountRequest-encryptionFlag',
                kMenuID: 'Manage_Request_InputAccountRequest-encryptionFlag_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEncryptionFlag.NotSet,
                kData: [
                  {
                    kData: ManageEncryptionFlag.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-encryptionFlag_NotSet',
                  },
                  {
                    kData: ManageEncryptionFlag.NotEncrypted,
                    kID: 'Manage_Request_InputAccountRequest-encryptionFlag_NotEncrypted',
                  },
                  {
                    kData: ManageEncryptionFlag.DukptDesWithPinMethod,
                    kID: 'Manage_Request_InputAccountRequest-encryptionFlag_DukptDesWithPinMethod',
                  },
                  {
                    kData: ManageEncryptionFlag.DesOrTdesMethod,
                    kID: 'Manage_Request_InputAccountRequest-encryptionFlag_DesOrTdesMethod',
                  },
                  {
                    kData: ManageEncryptionFlag.VoltageE2ee,
                    kID: 'Manage_Request_InputAccountRequest-encryptionFlag_VoltageE2ee',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'keySlot',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_InputAccountRequest-keySlot',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'minAccountLength',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_InputAccountRequest-minAccountLength',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'maxAccountLength',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_InputAccountRequest-maxAccountLength',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Manage_Request_InputAccountRequest-edcType',
                kMenuID: 'Manage_Request_InputAccountRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEdcType.NotSet,
                kData: [
                  {
                    kData: ManageEdcType.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-edcType_NotSet',
                  },
                  {
                    kData: ManageEdcType.All,
                    kID: 'Manage_Request_InputAccountRequest-edcType_All',
                  },
                  {
                    kData: ManageEdcType.Credit,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Credit',
                  },
                  {
                    kData: ManageEdcType.Debit,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Debit',
                  },
                  {
                    kData: ManageEdcType.Ebt,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Ebt',
                  },
                  {
                    kData: ManageEdcType.Gift,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Gift',
                  },
                  {
                    kData: ManageEdcType.Loyalty,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Loyalty',
                  },
                  {
                    kData: ManageEdcType.Cash,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Cash',
                  },
                  {
                    kData: ManageEdcType.Check,
                    kID: 'Manage_Request_InputAccountRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'transactionType',
                kID: 'Manage_Request_InputAccountRequest-transactionType',
                kMenuID: 'Manage_Request_InputAccountRequest-transactionType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageTransactionType.NotSet,
                kData: [
                  {
                    kData: ManageTransactionType.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_NotSet',
                  },
                  {
                    kData: ManageTransactionType.Unknown,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Unknown',
                  },
                  {
                    kData: ManageTransactionType.Sale,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Sale',
                  },
                  {
                    kData: ManageTransactionType.Return,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Return',
                  },
                  {
                    kData: ManageTransactionType.Authorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Authorization',
                  },
                  {
                    kData: ManageTransactionType.PostAuthorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_PostAuthorization',
                  },
                  {
                    kData: ManageTransactionType.ForceAuthorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_ForceAuthorization',
                  },
                  {
                    kData: ManageTransactionType.Adjust,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Adjust',
                  },
                  {
                    kData: ManageTransactionType.Withdrawal,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Withdrawal',
                  },
                  {
                    kData: ManageTransactionType.Activate,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Activate',
                  },
                  {
                    kData: ManageTransactionType.Issue,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Issue',
                  },
                  {
                    kData: ManageTransactionType.Reload,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Reload',
                  },
                  {
                    kData: ManageTransactionType.Cashout,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Cashout',
                  },
                  {
                    kData: ManageTransactionType.Deactivate,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Deactivate',
                  },
                  {
                    kData: ManageTransactionType.Replace,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Replace',
                  },
                  {
                    kData: ManageTransactionType.Merge,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Merge',
                  },
                  {
                    kData: ManageTransactionType.ReportLost,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_ReportLost',
                  },
                  {
                    kData: ManageTransactionType.Void,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Void',
                  },
                  {
                    kData: ManageTransactionType.VoidSale,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_VoidSale',
                  },
                  {
                    kData: ManageTransactionType.VoidReturn,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_VoidReturn',
                  },
                  {
                    kData: ManageTransactionType.VoidAuthorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_VoidAuthorization',
                  },
                  {
                    kData: ManageTransactionType.VoidPostAuthorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_VoidPostAuthorization',
                  },
                  {
                    kData: ManageTransactionType.VoidForceAuthorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_VoidForceAuthorization',
                  },
                  {
                    kData: ManageTransactionType.VoidWithdrawal,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_VoidWithdrawal',
                  },
                  {
                    kData: ManageTransactionType.Inquiry,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Inquiry',
                  },
                  {
                    kData: ManageTransactionType.Verify,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Verify',
                  },
                  {
                    kData: ManageTransactionType.Reactivate,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Reactivate',
                  },
                  {
                    kData: ManageTransactionType.ForcedIssue,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_ForcedIssue',
                  },
                  {
                    kData: ManageTransactionType.ForcedAdd,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_ForcedAdd',
                  },
                  {
                    kData: ManageTransactionType.Unload,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Unload',
                  },
                  {
                    kData: ManageTransactionType.Renew,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Renew',
                  },
                  {
                    kData: ManageTransactionType.GetConvertDetail,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_GetConvertDetail',
                  },
                  {
                    kData: ManageTransactionType.Convert,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Convert',
                  },
                  {
                    kData: ManageTransactionType.Tokenize,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Tokenize',
                  },
                  {
                    kData: ManageTransactionType.IncrementalAuthorization,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_IncrementalAuthorization',
                  },
                  {
                    kData: ManageTransactionType.BalanceWithLock,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_BalanceWithLock',
                  },
                  {
                    kData: ManageTransactionType.RedemptionWithUnlock,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_RedemptionWithUnlock',
                  },
                  {
                    kData: ManageTransactionType.Rewards,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Rewards',
                  },
                  {
                    kData: ManageTransactionType.Reenter,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Reenter',
                  },
                  {
                    kData: ManageTransactionType.TransactionAdjustment,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_TransactionAdjustment',
                  },
                  {
                    kData: ManageTransactionType.Transfer,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Transfer',
                  },
                  {
                    kData: ManageTransactionType.Finalize,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Finalize',
                  },
                  {
                    kData: ManageTransactionType.Deposit,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Deposit',
                  },
                  {
                    kData: ManageTransactionType.AccountPayment,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_AccountPayment',
                  },
                  {
                    kData: ManageTransactionType.Reversal,
                    kID: 'Manage_Request_InputAccountRequest-transactionType_Reversal',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'continuousScreen',
                kID: 'Manage_Request_InputAccountRequest-continuousScreen',
                kMenuID: 'Manage_Request_InputAccountRequest-continuousScreen_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageContinuousScreen.NotSet,
                kData: [
                  {
                    kData: ManageContinuousScreen.NotSet,
                    kID: 'Manage_Request_InputAccountRequest-continuousScreen_NotSet',
                  },
                  {
                    kData: ManageContinuousScreen.Default,
                    kID: 'Manage_Request_InputAccountRequest-continuousScreen_Default',
                  },
                  {
                    kData: ManageContinuousScreen.NotGoToIdleScreen,
                    kID: 'Manage_Request_InputAccountRequest-continuousScreen_NotGoToIdleScreen',
                  },
                ],
              },
           ];
  }

  static ManageInputAccountRequest formInputAccountRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageInputAccountRequest req = ManageInputAccountRequest();
    req.magneticSwipePinpadEnableFlag = RequestListModelQuery.query('Manage_Request_InputAccountRequest-magneticSwipePinpadEnableFlag',queryList);
    req.manualPinpadEnableFlag = RequestListModelQuery.query('Manage_Request_InputAccountRequest-manualPinpadEnableFlag',queryList);
    req.contactlessPinpadEnableFlag = RequestListModelQuery.query('Manage_Request_InputAccountRequest-contactlessPinpadEnableFlag',queryList);
    req.scannerPinpadEnableFlag = RequestListModelQuery.query('Manage_Request_InputAccountRequest-scannerPinpadEnableFlag',queryList);
    req.expiryDatePrompt = RequestListModelQuery.query('Manage_Request_InputAccountRequest-expiryDatePrompt',queryList);
    req.timeout = RequestListModelQuery.query('Manage_Request_InputAccountRequest-timeout',queryList);
    req.encryptionFlag = RequestListModelQuery.query('Manage_Request_InputAccountRequest-encryptionFlag',queryList);
    req.keySlot = RequestListModelQuery.query('Manage_Request_InputAccountRequest-keySlot',queryList);
    req.minAccountLength = RequestListModelQuery.query('Manage_Request_InputAccountRequest-minAccountLength',queryList);
    req.maxAccountLength = RequestListModelQuery.query('Manage_Request_InputAccountRequest-maxAccountLength',queryList);
    req.edcType = RequestListModelQuery.query('Manage_Request_InputAccountRequest-edcType',queryList);
    req.transactionType = RequestListModelQuery.query('Manage_Request_InputAccountRequest-transactionType',queryList);
    req.continuousScreen = RequestListModelQuery.query('Manage_Request_InputAccountRequest-continuousScreen',queryList);
    return req;
  }

  static List<Map> rebootData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
           ];
  }

  static ManageRebootRequest formRebootRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageRebootRequest req = ManageRebootRequest();
    req.classID = RequestListModelQuery.query('Manage_Request_RebootRequest-classID',queryList);
    return req;
  }

  static List<Map> setVariableData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ManageCommand',
                kID: 'ManageCommand',
                kMenuID: 'ManageCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageCommand.DeleteImageRequest,
                kData: [
                  {
                    kData: ManageCommand.DeleteImageRequest,
                    kID: 'ManageCommand_DeleteImageRequest',
                  },
                  {
                    kData: ManageCommand.DoSignatureRequest,
                    kID: 'ManageCommand_DoSignatureRequest',
                  },
                  {
                    kData: ManageCommand.VasPushDataRequest,
                    kID: 'ManageCommand_VasPushDataRequest',
                  },
                  {
                    kData: ManageCommand.TokenAdministrativeRequest,
                    kID: 'ManageCommand_TokenAdministrativeRequest',
                  },
                  {
                    kData: ManageCommand.ResetMsrRequest,
                    kID: 'ManageCommand_ResetMsrRequest',
                  },
                  {
                    kData: ManageCommand.InitRequest,
                    kID: 'ManageCommand_InitRequest',
                  },
                  {
                    kData: ManageCommand.SetGoogleSmartTapParametersRequest,
                    kID: 'ManageCommand_SetGoogleSmartTapParametersRequest',
                  },
                  {
                    kData: ManageCommand.CheckFileRequest,
                    kID: 'ManageCommand_CheckFileRequest',
                  },
                  {
                    kData: ManageCommand.ResetRequest,
                    kID: 'ManageCommand_ResetRequest',
                  },
                  {
                    kData: ManageCommand.SetSafParametersRequest,
                    kID: 'ManageCommand_SetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.SetApplePayVasParametersRequest,
                    kID: 'ManageCommand_SetApplePayVasParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSafParametersRequest,
                    kID: 'ManageCommand_GetSafParametersRequest',
                  },
                  {
                    kData: ManageCommand.GetSignatureRequest,
                    kID: 'ManageCommand_GetSignatureRequest',
                  },
                  {
                    kData: ManageCommand.GetVariableRequest,
                    kID: 'ManageCommand_GetVariableRequest',
                  },
                  {
                    kData: ManageCommand.ReprintRequest,
                    kID: 'ManageCommand_ReprintRequest',
                  },
                  {
                    kData: ManageCommand.UpdateResourceFileRequest,
                    kID: 'ManageCommand_UpdateResourceFileRequest',
                  },
                  {
                    kData: ManageCommand.InputAccountRequest,
                    kID: 'ManageCommand_InputAccountRequest',
                  },
                  {
                    kData: ManageCommand.RebootRequest,
                    kID: 'ManageCommand_RebootRequest',
                  },
                  {
                    kData: ManageCommand.SetVariableRequest,
                    kID: 'ManageCommand_SetVariableRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Manage_Request_SetVariableRequest-edcType',
                kMenuID: 'Manage_Request_SetVariableRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ManageEdcType.NotSet,
                kData: [
                  {
                    kData: ManageEdcType.NotSet,
                    kID: 'Manage_Request_SetVariableRequest-edcType_NotSet',
                  },
                  {
                    kData: ManageEdcType.All,
                    kID: 'Manage_Request_SetVariableRequest-edcType_All',
                  },
                  {
                    kData: ManageEdcType.Credit,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Credit',
                  },
                  {
                    kData: ManageEdcType.Debit,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Debit',
                  },
                  {
                    kData: ManageEdcType.Ebt,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Ebt',
                  },
                  {
                    kData: ManageEdcType.Gift,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Gift',
                  },
                  {
                    kData: ManageEdcType.Loyalty,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Loyalty',
                  },
                  {
                    kData: ManageEdcType.Cash,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Cash',
                  },
                  {
                    kData: ManageEdcType.Check,
                    kID: 'Manage_Request_SetVariableRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName1',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableName1',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableValue1',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableValue1',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName2',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableName2',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableValue2',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableValue2',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName3',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableName3',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableValue3',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableValue3',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName4',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableName4',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableValue4',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableValue4',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableName5',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableName5',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'variableValue5',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-variableValue5',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kGroupArrowOpen: true,
                kName: 'multiMerchant',
                kValue: '',
                kID: 'Manage_Request_SetVariableRequest-multiMerchant',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'multiMerchant',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'multiMerchantId',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Manage_Request_SetVariableRequest-multiMerchant_multiMerchantId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'multiMerchant',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'multiMerchantName',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Manage_Request_SetVariableRequest-multiMerchant_multiMerchantName',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ManageSetVariableRequest formSetVariableRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ManageSetVariableRequest req = ManageSetVariableRequest();
    req.edcType = RequestListModelQuery.query('Manage_Request_SetVariableRequest-edcType',queryList);
    req.variableName1 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableName1',queryList);
    req.variableValue1 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableValue1',queryList);
    req.variableName2 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableName2',queryList);
    req.variableValue2 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableValue2',queryList);
    req.variableName3 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableName3',queryList);
    req.variableValue3 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableValue3',queryList);
    req.variableName4 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableName4',queryList);
    req.variableValue4 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableValue4',queryList);
    req.variableName5 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableName5',queryList);
    req.variableValue5 = RequestListModelQuery.query('Manage_Request_SetVariableRequest-variableValue5',queryList);
    req.multiMerchant = ManageMultiMerchant();
    req.multiMerchant!.multiMerchantId = RequestListModelQuery.query('Manage_Request_SetVariableRequest-multiMerchant_multiMerchantId',queryList);
    req.multiMerchant!.multiMerchantName = RequestListModelQuery.query('Manage_Request_SetVariableRequest-multiMerchant_multiMerchantName',queryList);
    return req;
  }

  static List<Map>? queryDataByString(String string) {
    List tempList = string.split('.');
    if (tempList.length < 2) { return null; }
    String tempStr = tempList[1];
    List<Map> list;
    switch (tempStr) {
      case 'DeleteImageRequest':
        list = ManageReqData.deleteImageData();
        break;
      case 'DoSignatureRequest':
        list = ManageReqData.doSignatureData();
        break;
      case 'VasPushDataRequest':
        list = ManageReqData.vasPushDataData();
        break;
      case 'TokenAdministrativeRequest':
        list = ManageReqData.tokenAdministrativeData();
        break;
      case 'ResetMsrRequest':
        list = ManageReqData.resetMsrData();
        break;
      case 'InitRequest':
        list = ManageReqData.initData();
        break;
      case 'SetGoogleSmartTapParametersRequest':
        list = ManageReqData.setGoogleSmartTapParametersData();
        break;
      case 'CheckFileRequest':
        list = ManageReqData.checkFileData();
        break;
      case 'ResetRequest':
        list = ManageReqData.resetData();
        break;
      case 'SetSafParametersRequest':
        list = ManageReqData.setSafParametersData();
        break;
      case 'SetApplePayVasParametersRequest':
        list = ManageReqData.setApplePayVasParametersData();
        break;
      case 'GetSafParametersRequest':
        list = ManageReqData.getSafParametersData();
        break;
      case 'GetSignatureRequest':
        list = ManageReqData.getSignatureData();
        break;
      case 'GetVariableRequest':
        list = ManageReqData.getVariableData();
        break;
      case 'ReprintRequest':
        list = ManageReqData.reprintData();
        break;
      case 'UpdateResourceFileRequest':
        list = ManageReqData.updateResourceFileData();
        break;
      case 'InputAccountRequest':
        list = ManageReqData.inputAccountData();
        break;
      case 'RebootRequest':
        list = ManageReqData.rebootData();
        break;
      case 'SetVariableRequest':
        list = ManageReqData.setVariableData();
        break;
      default:
        list = [];
        break;
    }
    return list;
  }

}
